

#define MAX_PLAYERS 32


enum PINFO
{
	PINFO_BOOL_START,						//start bools
	PINFO_CONNECT = PINFO_BOOL_START,
	PINFO_BOT,
	PINFO_POKESKILL_DOWN,
	PINFO_POKEITEM_DOWN,
	PINFO_TRAVELING,
	PINFO_SURFING,
	PINFO_TRADE_ACCEPT,
	PINFO_SETTING_AUTOCATCH,
	PINFO_SETTING_SHOWDAMAGE,
	PINFO_SETTING_XPNUM,
	PINFO_SETTING_HUD,
	PINFO_SETTING_DHUD,
	PINFO_BOOL_END = PINFO_SETTING_DHUD,

	PINFO_SHORT_START,						//start shorts
	PINFO_PC_BOX = PINFO_SHORT_START,
	PINFO_VERSION,
	PINFO_HUD_COLOR,
	PINFO_BOT_ACTIONS,
	PINFO_STATUS_EFFECT,
	PINFO_ACTIVE_POKENUM,
	PINFO_ACTIVE_SKILLNUM,
	PINFO_TRAINING_BOOST,
	PINFO_DHUD_OFFSET,
	PINFO_SHORT_END = PINFO_DHUD_OFFSET,

	PINFO_LONG_START,						//start longs
	PINFO_HUDPOS = PINFO_LONG_START,
	PINFO_DHUDPOS_X,
	PINFO_DHUDPOS_Y,
	PINFO_LOCATION,
	PINFO_LAST_POKECENTER,
	PINFO_TRADE_PLAYER,
	PINFO_TRADE_POKEMON,
	PINFO_TRADE_LEVEL,
	PINFO_TRADE_ITEM,
	PINFO_TRADE_ITEMNUM,
	PINFO_TRADE_MONEY,
	PINFO_ENCOUNTER_POKEMON,
	PINFO_ENCOUNTER_LEVEL,
	PINFO_ENCOUNTER_HP,
	PINFO_ENCOUNTER_IVS,
	PINFO_ENCOUNTER_WIGGLES,
	PINFO_ENCOUNTER_PROPS,
	PINFO_BOOST_SKILL,
	PINFO_BOOST_SKILLNUM,
	PINFO_BOOST_DAMAGE,
	PINFO_TYPE,
	PINFO_TRAVEL_TIME,
	PINFO_TRAVEL_TO,
	PINFO_LONG_END = PINFO_TRAVEL_TO,
}

//Because the default short values go from 0-255, we will use this so we can have negatives values too
#define SHORT_OFFSET 100

stock const String:PLAYER_FLAGS_ALL[] = "";
stock const String:PLAYER_FLAGS_NOHLTV[] = "h";
stock const String:PLAYER_FLAGS_ALIVE[] = "ah";
stock const String:PLAYER_FLAGS_DEAD[] = "bh";
stock const String:PLAYER_FLAGS_REAL[] = "ch";
stock const String:PLAYER_FLAGS_BOTS[] = "dh";

#define PlayerType(%1)               PM_TYPE:PlayerGetInfo( %1, PINFO_TYPE )

#define PlayerHullSize(%1)           ( ( pev( %1, pev_flags ) & FL_DUCKING ) ? HULL_HEAD : HULL_HUMAN )
